package com.cmf.vo;

import com.cmf.config.LongToStringSerializer;
import com.cmf.enums.EmployeeStatus;
import com.cmf.enums.Gender;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
/**
 * @Author: cmf
 * @Date: 2025/8/27 16:42
 * @Version: v1.0.0
 * @Description: 员工信息视图对象，用于向前端展示员工信息
 **/
@Data
@NoArgsConstructor
@Builder
@AllArgsConstructor
public class EmployeeVo {
    /**
     * 员工ID
     */
    @JsonSerialize(using = LongToStringSerializer.class)
    private Long id;
    /**
     * 员工姓名
     */
    private String name;
    /**
     * 员工手机号
     */
    private String phone;
    /**
     * 员工身份证号码
     */
    private String idNumber;
    /**
     * 员工性别
     */
    private Gender sex;
    /**
     * 员工状态
     */
    private EmployeeStatus status;
    /**
     * 用户名
     */
    private String username;
}